import { createApp } from 'vue'
// import App from './App.vue'
import App from './全局状态管理.vue'
import router from './router/index'
import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia = createPinia()
pinia.use(persistedstate)

// 使用状态管理 pinia
app.use(pinia)
app.use(router)
app.mount('#app')